package mf.com;

import mf.com.log.annotation.EnableLogAspect;
import mf.com.properties.MinioProperties;
import mf.com.properties.UserProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableScheduling;


/**
 * @Author: lmf
 * @Create: 2024/3/20 22:28
 * Description:  $description
 */// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
// then press Enter. You can now see whitespace characters in your code.
@SpringBootApplication// 启动类
@EnableLogAspect // 开启日志切面
@EnableScheduling // 开启定时任务
// 将 UserProperties 类中设置的对应数据从配置文件中绑定到对应的属性上
@EnableConfigurationProperties(value = {UserProperties.class, MinioProperties.class})
public class ManagerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ManagerApplication.class, args);
    }
}
